<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const obj={
            name:"wwp",
            age:18
        }
        let {name:xxx,age:cc}=obj;
        console.log(xxx,cc)
        let {name,age}=obj;
        console.log(name,age)
        const obj1 = {
                data: {
                    code: 10000,
                    message: '频道列表获取成功',
                    result: ['HTML', 'CSS', 'JavaScript', 'Vue', 'SprintBoot']
                },
                status: 200,
                statusText: 'Ok'
            }
        const {data}=obj1
        console.log(data)
        const {code:code1,message:message1}=data;
        console.log(code1,message1)
    </script>
</body>
</html>